html, body, #app {
    width: 100%;
    height: 100%;
    background: whitesmoke;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.home-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #d40d0f;
    text-align: center;
}

.home-btn img {
    width: 24px;
    height: 24px;
    margin-top: 8px;
}


/* ===========================================优惠券样式 start=========================================================== */

.coupon {
    display: inline-flex;
    color: white;
    position: relative;
    padding-left: .5rem;
    margin: 1rem;
    /** 这里不能用百分号，因为百分号是分别相对宽和高计算的，会导致弧度不同  */
    border-top-right-radius: .3rem;
    border-bottom-right-radius: .3rem;
    overflow: hidden;
}

.coupon-yellow {
    background-color: #F39B00;
}

.coupon-grey {
    background-color: #25968b;
}

.coupon-green {
    background-color: #cb8d76;
}

.coupon-yellow-gradient {
    background-image: linear-gradient(150deg, #F39B00 50%, #F39B00D8 50%);
}

.coupon-red-gradient {
    background-image: linear-gradient(150deg, #D24161 50%, #D24161D8 50%);
}

.coupon-green-gradient {
    background-image: linear-gradient(150deg, #7EAB1E 50%, #7EAB1ED8 50%);
}

.coupon-blue-gradient {
    background-image: linear-gradient(150deg, #50ADD3 50%, #50ADD3D8 50%);
}

/* 左边框的波浪 */
.coupon-wave-left::before, .coupon-wave-right::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 14px;
    background-image: radial-gradient(white 0, white 4px, transparent 4px);
    /** 如果只设置为半径的两倍(直径)，那么半圆之间没有类似堤岸的间隔 */
    background-size: 14px 14px;
    background-position: 0 2px;
    background-repeat: repeat-y;
    z-index: 1;
}

.coupon-wave-left::before {
    left: -7px;
}

.coupon-wave-right::after {
    right: -7px;
}

.coupon-info {
    padding-left: 1rem;
    padding-right: 2.5rem;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    position: relative;
    min-width: 9rem;
}

.coupon-info-right-dashed {
    border-right: 2px dashed white;
}

.coupon-info-right-solid {
    border-right: 2px solid white;
}

/* 使用两个边框为圆角的白色div制造半圆缺角，有个缺点是这个缺角必须与背景色相同（clip-path不好弄） */
.coupon-hole::before, .coupon-hole::after {
    content: '';
    width: 1rem;
    height: 1rem;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    right: -.5rem;
}

.coupon-info::before {
    top: -.5rem;
}

.coupon-info::after {
    bottom: -.5rem;
}

/*  .coupon-info > div {
      margin-bottom: .2rem;
  }*/

.coupon-price {
    font-size: 150%;
    font-weight: bold;
}

.coupon-price > span {
    font-size: 40%;
    margin-left: .5rem;
    font-weight: normal;
}

.coupon-get {
    /*padding: 1rem;*/
    /** 这里使用flex是为了让文字居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 4rem;
    position: relative;
}

.coupon-desc {
    font-size: 70%;
    margin-bottom: 0.2rem;
    font-weight: bold;
}

.coupon-expiry-date {
    font-size: 65%;
}

.coupon-get-already::after {
    content: '';
    width: 4rem;
    height: 4rem;
    background-size: 4rem 4rem;
    /*background-image: url('');*/
    position: absolute;
    top: -1rem;
    right: -0.8rem;
}

.coupon-state {
    width: 80px;
    height: 20px;
    background: #dd0d1f;
    position: absolute;
    right: -20px;
    top: 10px;
    transform: rotateZ(45deg);
    text-align: center;
    color: #fff;
    font-size: 12px;
}

/* ===========================================优惠券样式 end=========================================================== */

/* ===========================================轮播图样式 start=========================================================== */

.my-swipe .van-swipe-item {
    color: #fff;
    font-size: 20px;
    height: 160px;
    max-height: 160px;
    text-align: center;
}

.my-swipe .van-swipe-item img {
    width: 99%;
    height: 100%;
}

/* ===========================================轮播图样式 end=========================================================== */

/* ===========================================储值卡样式 start=========================================================== */

.card-baseInfo {
    background-image: -webkit-linear-gradient(bottom, #a78282, #d0a374, #d8d889);
    position: relative;
    margin: 5% 0;
    width: 90%;
    height: 160px;
    left: 5%;
    border-radius: 10px;
}

.card-log {
    font-size: 45px;
    background-image: -webkit-linear-gradient(bottom, red, #ad8c6b, #69694c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    position: relative;
    left: 75%;
}

.card-name {
    position: relative;
    top: -40%;
    color: #566310f0;
    left: 3%;
    font-weight: bold;
    font-size: 16px;
}

.card-no {
    position: relative;
    left: 55%;
    font-size: 19px;
    letter-spacing: 0.3em;
    color: #e4ab5c;
    font-weight: bold;
}

.card-balance {
    position: relative;
    right: -55%;
    font-size: 19px;
    color: #e4ab5c;
    font-weight: bold;
}


/* ===========================================轮播图样式 end=========================================================== */

